import { ISysMaterial } from '/@/views/supplychain/sysmaterial/api/interface';
import { ISysGroup } from '/@/views/fileattachment/api/interface';
import { ISysOrg } from '/@/views/fileattachment/api/interface';

export interface ISysMaterialChangeRequestBill {
	ID?: string | null;
	MaterialId: null | string;
	Material?: ISysMaterial | null;
	ChangeReason: string | null;
	Approver: string | null;
	ApprovalTime: Date | null;
	GroupId: null | string;
	Group?: ISysGroup | null;
	OrgId: null | string;
	Org?: ISysOrg | null;
	BillCode: string | null;
	BillStatus?: '草稿' | '正文' | null;
	WorkflowStatus?: '待提交' | '提交中' | '审核中' | '已完成' | '已取消' | '待处理' | '处理中' | '已处理' | null;
	Remark: string | null;
}

export interface ISysMaterialChangeRequestBillVm {
	Entity: ISysMaterialChangeRequestBill;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;

}

export interface ISysMaterialChangeRequestBillView extends ISysMaterialChangeRequestBill {

}

export interface ISysMaterialChangeRequestBillQuery {
	MaterialId?: string | null;
	MaterialName?: string | null;
	MaterialCode?: string | null;
	Approver?: string | null;
	ApprovalTime?: Date | null;
	GroupId?: string | null;
	OrgId?: string | null;
	BillCode?: string | null;
	BillStatus?: number | null;
	WorkflowStatus?: number | null;
}